/*
 * Copyright (C) 2003, Velocityme Partnership
 * ContactDetailTypeValueToString.java
 *
 * Created on 31 December 2003, 04:38
 */

package com.velocityme.valueobjects;

/**
 *
 * @author  Robert Crida Work
 */
public class ContactDetailTypeValueToString extends ContactDetailTypeValue implements Comparable {
    
    /** Creates a new instance of ContactDetailTypeValueToString */
    public ContactDetailTypeValueToString(ContactDetailTypeValue p_value) {
        super(p_value);
    }
    
    public int compareTo(Object o) {
        if (o instanceof ContactDetailTypeValue) {
            ContactDetailTypeValue oth = (ContactDetailTypeValue)o;
            return getSequenceNumber().compareTo(oth.getSequenceNumber());
        }
        return 0;
    }
    
}
